package com.aspose.cells.a.d;

public class zca {
   private zcb a;
   private float b = Float.MAX_VALUE;
   private float c = Float.MAX_VALUE;
   private float d = -3.4028235E38F;
   private float e = -3.4028235E38F;

   public zca(zcb var1) {
      this.a = var1;
   }

   public void a(com.aspose.cells.b.a.b.zo var1, float var2) {
      com.aspose.cells.b.a.b.zo[] var3 = new com.aspose.cells.b.a.b.zo[]{var1};
      this.a.d().p().a(var3);
      var1 = var3[0];
      this.b(var1, var2);
   }

   public void a(com.aspose.cells.b.a.b.zo[] var1, float var2) {
      this.a.d().p().a(var1);

      for(int var3 = 0; var3 < var1.length; ++var3) {
         this.b(var1[var3], var2);
      }

   }

   public void a(com.aspose.cells.b.a.b.zo[][] var1, float var2) {
      for(int var3 = 0; var3 < var1.length; ++var3) {
         this.a(var1[var3], var2);
      }

   }

   public void b(com.aspose.cells.b.a.b.zo[] var1, float var2) {
      for(int var3 = 0; var3 < var1.length; ++var3) {
         this.b(var1[var3], var2);
      }

   }

   private void b(com.aspose.cells.b.a.b.zo var1, float var2) {
      this.b = Math.min(this.b, var1.d() - var2);
      this.c = Math.min(this.c, var1.e() - var2);
      this.d = Math.max(this.d, var1.d() + var2);
      this.e = Math.max(this.e, var1.e() + var2);
   }

   public com.aspose.cells.b.a.b.zq a() {
      return com.aspose.cells.b.a.b.zq.a(this.b, this.c, this.d, this.e);
   }
}
